﻿Imports System.Configuration
Public Class sqlConfiguracion

    Public Shared Function GetConnectionString() As String
        Return GetConnectionString("SGD_DBConnectionString")
    End Function

    Public Shared Function GetConnectionString(ByVal connectionName As String) As String
        'la linea de abajo es para web
        '    Return ConfigurationManager.ConnectionStrings(connectionName).ConnectionString
        Return "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Ing.Clemente\Documents\svn\Dalco\DalcoModelo\StockDalcoSQL.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
    End Function

End Class

